import Runloop from '@runloop/api-client';
const client = new Runloop({
bearerToken: process.env['RUNLOOP_API_KEY'], // This is the default and can be omitted
});
const axonView = await client.axons.retrieve('id');
console.log(axonView.id);{
"id": "<string>",
"created_at_ms": 123,
"name": "<string>"
}[Beta] Get an axon given ID.
import Runloop from '@runloop/api-client';
const client = new Runloop({
bearerToken: process.env['RUNLOOP_API_KEY'], // This is the default and can be omitted
});
const axonView = await client.axons.retrieve('id');
console.log(axonView.id);{
"id": "<string>",
"created_at_ms": 123,
"name": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The axon identifier.
Was this page helpful?